package com.songlanyun.modules.memberbill.entity;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PointToBalanceDTO implements ValueObject {


    @DecimalMin(value = "0.0000001",message = "输入的积分最小值是0.0000001")
    private BigDecimal value;


    /**
     * 支付密码
     */
    @NotBlank(message ="支付密码不参为空")
    private String payPassword;
}
